#ifndef _VICTIMS_H_
#define _VICTIMS_H_

#define MAX_VICTIMS 10

typedef struct
{
    unsigned short x;
    unsigned short y;
    unsigned short reserved;
    unsigned short number;
	unsigned int code;
}__attribute__((__packed__)) victim_t;

extern victim_t victims[MAX_VICTIMS];

void readvictims();
void drawvictims();
void initvictims();

const char *getvictimname(int code);

int victimclicked(int x, int y);
void dragvictim(int id, int x, int y);

#endif